package com.lc.StructuralPatterns.proxy.static_proxy;

/**
 * @Author Lc
 * @Date 2023/4/10
 * @Description 代售点
 */
public class ProxyPoint implements SellTickets {
    //声明火车站类对象
    private TrainStation trainStation = new TrainStation();
    @Override
    public void sell() {
        System.out.println("代售点收取一些服务费用");
        trainStation.sell();
    }
}
